<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>


<html>
<head>
<%
response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
%>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Expires" content="Tue, 01 Jan 1980 1:00:00 GMT">
<meta http-equiv="Pragma" content="no-cache">

<title> SISTEMA UNICO DE BENEFICIOS </title>	
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<link href="<%= request.getContextPath() + "/css/consultsoft_css.css" %>" rel="stylesheet" type="text/css">
	<link href="<%= request.getContextPath() + "/css/bloques.css" %>" rel="stylesheet" type="text/css">
	<!--<link href="<%= request.getContextPath() + "/css/table.css" %>" rel="stylesheet" type="text/css">-->
  <link href="<%= request.getContextPath() + "/css/menu.css" %>" rel="stylesheet" type="text/css">
	
	<style type="text/css"></style>
  
    <script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->

</script>
</head>

<body onLoad="MM_preloadImages('images/btn_cerrar_over.png')">
	<table style="width:100%; height:100%;" border="0" cellpadding="0" cellspacing="0">
	  <tr>
		<td style="vertical-align:top">			
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
			  <tr>
				<td width="400" height="100" background="<%= request.getContextPath() + "/images/header_bg_1_nuevo.png" %>">
				  <P>
				  </P>
				</td>
				<td background="<%= request.getContextPath() + "/images/header_bg_2.png" %>">
				  <div align="right">
				    <!--&lt;img border=&quot;0&quot; src=&quot;&lt;%= request.getContextPath() + &quot;/images/logoMun.gif&quot; %&gt;&quot; width=&quot;132&quot; height=&quot;98&quot;&gt;&lt;/div&gt;-->
				    <object width="400" height="80">
            <param name="movie" value="<%=request.getContextPath()+"/images/baner.png"%>">
            <embed src="<%=request.getContextPath()+"/images/baner.png"%>" width="400" height="80">
            </embed>
            </object>
				  </div>
        </td>
			  </tr>
			</table>
			
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
			  <tr>
				<td width="400" height="40" class="info_bar" background="<%= request.getContextPath() + "/images/bar_bg_2.png" %>" >Usuario Activo: <bean:write name="userInfo" property="name" />  | Perfil: <bean:write name="userInfo" property="userGroupName" /></td>
				<td background="<%= request.getContextPath() + "/images/bar_bg_2.png" %>">&nbsp;</td>
				<td width="135"><a href="<%= request.getContextPath() + "/logout.do" %>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('cerrar','','<%= request.getContextPath() + "/images/btn_cerrar_over.png" %>',1)">
				<img src="<%= request.getContextPath() + "/images/btn_cerrar.png" %>" alt="cerrar" name="cerrar" width="135" height="40" border="0"></a></td>
			  </tr>
		  </table>					
			<table style="width:100%; margin-top:10px" border="0" align="center" cellpadding="0" cellspacing="0">
	 		   <tr>
				   <td style="vertical-align:top">
						<table style="width:100%;" border="0" cellspacing="0" cellpadding="0">
						  <tr>
							<td width="195" style="vertical-align:top">
								<u>
								<!--ARRANCA MENU-->
								<!--ARRANCA MENU-->
								</u>
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
								  <tr>
								  	<td align="center">
								  	  <P>&nbsp;
								  	  </P>
								  	</td>
								  </tr>
								  <tr>
									<td><img src="<%= request.getContextPath() + "/images/menu.gif"%>" alt="Menu principal" width="190" height="21"/>
									</td>
								  	</tr>
								  <tr>
									<td>
									   		 <tiles:insert name="menu"/>
									</td>
								  	</tr>
								</table>
								<u>
								<p>
								</p>
								<!--TERMINA MENU-->
								<!--TERMINA MENU-->							
								</u>							
							</td>
							<td style="vertical-align:top; padding:0px 10px 10px 10px;">
							  <u>
							    <!--ARRANCA CONTENIDO-->
							    <!--ARRANCA CONTENIDO--></u>
								<u>
								  <tiles:insert name="body"/>
								  <!--TERMINA CONTENIDO-->
								  <!--TERMINA CONTENIDO-->
								</u>
							</td>
						  </tr>
						</table>
				 </td>			
 			  </tr>
	 	   </table>			
		</td>		
	  </tr>	    
</table>

<table border="0" width="100%" cellpadding="0" cellspacing="0" >
  <tr>
    <td  height="143" width="600" background="<%=request.getContextPath() +"/images/footerNew_nuevo.png"%>">
      <table align="right" cellspacing="3" cellpadding="2" border="0" width="60%">
        <tr>
          <td colspan="2" height="85">&nbsp;</td>
        </tr>
        <tr>
          <td class="footer" colspan="2">
            <DIV align="right">
              <P align="right">TODOS LOS DERECHOS RESERVADOS &copy; 2012  ||  CONSULT SOFT S.A.</P>
            </DIV>
          </td>
        </tr>
      </table>
    </td>
    <td  background="<%=request.getContextPath() +"/images/footerNew1.png"%>">&nbsp;</td>
  </tr>
  </table>
  <script language="JavaScript" type="text/javascript" src="<%=request.getContextPath()%>/js/wz_tooltip.js"></script> 
</body>
</html>
